/**
 * MKL - Tous droits réservés &copy; 2012 - 2014
 */
package com.mkl.leek.dpsSimulator.vo;

import java.math.BigDecimal;

/**
 * Static effect. Used to define buffes in general and not in application.
 * <p>
 * Dernier commit:
 * <ul>
 * <li>le $Date:$</li>
 * <li>par $Author:$</li>
 * <li>revision $Revision:$</li>
 * </ul>
 * </p>
 *
 * @author MKL
 */
public class AbsoluteEffect {
    /** Stat concerned by the effect. */
    private StatEnum stat;
    /** Value of the effect. */
    private BigDecimal value;
    /** Duration of the effect (0 for instant effect like most heals). */
    private int duration;

    /**
     * Default constructor.
     * @param stat the stat to set.
     * @param value the value to set.
     * @param duration the duration to set.
     */
    public AbsoluteEffect(StatEnum stat, BigDecimal value, int duration) {
        this.stat = stat;
        this.value = value;
        this.duration = duration;
    }

    /** @return the stat. */
    public StatEnum getStat() {
        return stat;
    }

    /** @return the value. */
    public BigDecimal getValue() {
        return value;
    }

    /** @return the duration. */
    public int getDuration() {
        return duration;
    }
}
